
set more off
ereturn clear
estimates clear 
eststo clear

	
	forval x= 1(1)1000 {
	
		
		estimates use Analysis/placebo`x'
		eststo placebo`x'
	
	
		parmest, norestore level(90)
		keep if strpos(parm, "event" )> 0 
		
		keep parm est
		
		gen obs = e(N)
		gen dof = e(df_rn)
		gen N_clust = e(N_clust)
		gen bootind = `x'

		
save Analysis/placres`x'.dta, replace
		estimates drop placebo`x'
	}

use Analysis/placres1.dta, clear 
	

	

	forval x = 2(1)1000 {

	append using Analysis/placres`x'.dta
	
capture	erase Analysis/placres`x'.dta
	}

capture erase Analysis/placres1.dta
	
save Analysis/placeboresults.dta, replace
	
	
	
	
